diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-13 12:37:50 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-13 15:36:38 +0100 |
| commit | 599b70cd2390d08ce26ee44174b3f39c6587110c (patch) | |
| tree | 15d967fc142bf632df3dd55df373bfd4e33d2d90 /src/pages/sujet/[slug].tsx | |
| parent | d7bcd93efcd4f1ae20678d0efa6777cfadc09a4e (diff) | |
refactor(hooks): rewrite usePagination hook
* replace `isLoadingInitialData` with `isLoading` & `isRefreshing`
* rename `fallbackData` prop to `fallback`
* replace `setSize` return with a `loadMore` callback
* add tests
Diffstat (limited to 'src/pages/sujet/[slug].tsx')
0 files changed, 0 insertions, 0 deletions
